package com.fire.cloud_getway.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Objects;

/**
 * @author Mr.Fire
 * @date 2021/12/27 17:09
 * @desc
 */
@RestController
public class TestController {

    @RequestMapping("/test")
    public void test(){
        System.out.println("请求");
    }

    @RequestMapping("/fire")
    public void testGateway(){
        System.out.println("请求");
    }

    @RequestMapping("/app/start")
    public String testFilter(){
        System.out.println("请求filter");
        return "gateWay测试-filter";
    }

    @RequestMapping("/app/param")
    public String testFilter2(){
        System.out.println("Query param test");
        return "Query param test";
    }
}
